﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Vote.Web.Models
{
    /// <summary>
    /// 活动模型，显示活动列表
    /// </summary>
    public class ActionListViewModel : List<ActionViewModel>
    {

    }
    public class ActionViewModel
    {
        public Int32 Id { get; set; }
        public String Actionname { get; set; }
        public DateTime Begintime { get; set; }
        public DateTime Endtime { get; set; }
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 参与投票的人数，如果大于0不能编辑删除
        /// </summary>
        public Int32 VoteCount { get; set; }
    }
}